package com.dianping.cat.home.dal.report;

import java.util.Arrays;
import java.util.Date;
import org.unidal.dal.jdbc.DataObject;
































public class Alteration
  extends DataObject
{
  private int m_id;
  private String m_type;
  private String m_title;
  private String m_domain;
  private String m_hostname;
  private String m_ip;
  private Date m_date;
  private String m_user;
  private String m_altGroup;
  private String m_content;
  private String m_url;
  private int m_status;
  private Date m_creationDate;
  private int m_keyId;
  private Date m_startTime;
  private Date m_endTime;
  private String[] m_types;

  public void afterLoad() {
/*  60 */     this.m_keyId = this.m_id;
/*  61 */     clearUsage();
  }


/*  65 */   public String getAltGroup() { return this.m_altGroup; }



/*  69 */   public String getContent() { return this.m_content; }



/*  73 */   public Date getCreationDate() { return this.m_creationDate; }



/*  77 */   public Date getDate() { return this.m_date; }



/*  81 */   public String getDomain() { return this.m_domain; }



/*  85 */   public Date getEndTime() { return this.m_endTime; }



/*  89 */   public String getHostname() { return this.m_hostname; }



/*  93 */   public int getId() { return this.m_id; }



/*  97 */   public String getIp() { return this.m_ip; }



/* 101 */   public int getKeyId() { return this.m_keyId; }



/* 105 */   public Date getStartTime() { return this.m_startTime; }



/* 109 */   public int getStatus() { return this.m_status; }



/* 113 */   public String getTitle() { return this.m_title; }



/* 117 */   public String getType() { return this.m_type; }



/* 121 */   public String[] getTypes() { return this.m_types; }



/* 125 */   public String getUrl() { return this.m_url; }



/* 129 */   public String getUser() { return this.m_user; }


  public Alteration setAltGroup(String altGroup) {
/* 133 */     setFieldUsed(AlterationEntity.ALT_GROUP, true);
/* 134 */     this.m_altGroup = altGroup;
/* 135 */     return this;
  }

  public Alteration setContent(String content) {
/* 139 */     setFieldUsed(AlterationEntity.CONTENT, true);
/* 140 */     this.m_content = content;
/* 141 */     return this;
  }

  public Alteration setCreationDate(Date creationDate) {
/* 145 */     setFieldUsed(AlterationEntity.CREATION_DATE, true);
/* 146 */     this.m_creationDate = creationDate;
/* 147 */     return this;
  }

  public Alteration setDate(Date date) {
/* 151 */     setFieldUsed(AlterationEntity.DATE, true);
/* 152 */     this.m_date = date;
/* 153 */     return this;
  }

  public Alteration setDomain(String domain) {
/* 157 */     setFieldUsed(AlterationEntity.DOMAIN, true);
/* 158 */     this.m_domain = domain;
/* 159 */     return this;
  }

  public Alteration setEndTime(Date endTime) {
/* 163 */     setFieldUsed(AlterationEntity.END_TIME, true);
/* 164 */     this.m_endTime = endTime;
/* 165 */     return this;
  }

  public Alteration setHostname(String hostname) {
/* 169 */     setFieldUsed(AlterationEntity.HOSTNAME, true);
/* 170 */     this.m_hostname = hostname;
/* 171 */     return this;
  }

  public Alteration setId(int id) {
/* 175 */     setFieldUsed(AlterationEntity.ID, true);
/* 176 */     this.m_id = id;

/* 178 */     setFieldUsed(AlterationEntity.KEY_ID, true);
/* 179 */     this.m_keyId = id;
/* 180 */     return this;
  }

  public Alteration setIp(String ip) {
/* 184 */     setFieldUsed(AlterationEntity.IP, true);
/* 185 */     this.m_ip = ip;
/* 186 */     return this;
  }

  public Alteration setKeyId(int keyId) {
/* 190 */     setFieldUsed(AlterationEntity.KEY_ID, true);
/* 191 */     this.m_keyId = keyId;
/* 192 */     return this;
  }

  public Alteration setStartTime(Date startTime) {
/* 196 */     setFieldUsed(AlterationEntity.START_TIME, true);
/* 197 */     this.m_startTime = startTime;
/* 198 */     return this;
  }

  public Alteration setStatus(int status) {
/* 202 */     setFieldUsed(AlterationEntity.STATUS, true);
/* 203 */     this.m_status = status;
/* 204 */     return this;
  }

  public Alteration setTitle(String title) {
/* 208 */     setFieldUsed(AlterationEntity.TITLE, true);
/* 209 */     this.m_title = title;
/* 210 */     return this;
  }

  public Alteration setType(String type) {
/* 214 */     setFieldUsed(AlterationEntity.TYPE, true);
/* 215 */     this.m_type = type;
/* 216 */     return this;
  }

  public Alteration setTypes(String[] types) {
/* 220 */     setFieldUsed(AlterationEntity.TYPES, true);
/* 221 */     this.m_types = types;
/* 222 */     return this;
  }

  public Alteration setUrl(String url) {
/* 226 */     setFieldUsed(AlterationEntity.URL, true);
/* 227 */     this.m_url = url;
/* 228 */     return this;
  }

  public Alteration setUser(String user) {
/* 232 */     setFieldUsed(AlterationEntity.USER, true);
/* 233 */     this.m_user = user;
/* 234 */     return this;
  }


  public String toString() {
/* 239 */     StringBuilder sb = new StringBuilder(1024);

/* 241 */     sb.append("Alteration[");
/* 242 */     sb.append("alt-group: ").append(this.m_altGroup);
/* 243 */     sb.append(", content: ").append(this.m_content);
/* 244 */     sb.append(", creation-date: ").append(this.m_creationDate);
/* 245 */     sb.append(", date: ").append(this.m_date);
/* 246 */     sb.append(", domain: ").append(this.m_domain);
/* 247 */     sb.append(", end-time: ").append(this.m_endTime);
/* 248 */     sb.append(", hostname: ").append(this.m_hostname);
/* 249 */     sb.append(", id: ").append(this.m_id);
/* 250 */     sb.append(", ip: ").append(this.m_ip);
/* 251 */     sb.append(", key-id: ").append(this.m_keyId);
/* 252 */     sb.append(", start-time: ").append(this.m_startTime);
/* 253 */     sb.append(", status: ").append(this.m_status);
/* 254 */     sb.append(", title: ").append(this.m_title);
/* 255 */     sb.append(", type: ").append(this.m_type);
/* 256 */     sb.append(", types: ").append((this.m_types == null) ? null : Arrays.asList(this.m_types));
/* 257 */     sb.append(", url: ").append(this.m_url);
/* 258 */     sb.append(", user: ").append(this.m_user);
/* 259 */     sb.append("]");
/* 260 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dal/report/Alteration.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */